]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st/icon: Reorder header file
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 21 Nov 2019 09:56:13 +0000 (16:56 +0700)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 13 Jan 2020 13:44:08 +0000 (14:44 +0100)
The order of the functions is currently quite messy, change the order of
the headers so it makes more sense and correct a wrong argument name
while at it.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888

src/st/st-icon.h

index 23083b678fb5c2e901c3158fe7dda87ddedf3edb..f510520dc23919a6c8ec0cac7ae40b564377f523 100644 (file)
@@ -56,19 +56,21 @@ struct _StIcon {
 
 ClutterActor* st_icon_new (void);
 
+GIcon       *st_icon_get_gicon (StIcon *icon);
+void         st_icon_set_gicon (StIcon *icon,
+                                GIcon  *gicon);
 
+const gchar *st_icon_get_icon_name (StIcon      *icon);
+void         st_icon_set_icon_name (StIcon      *icon,
+                                    const gchar *icon_name);
 
-const gchar *st_icon_get_icon_name (StIcon *icon);
-void         st_icon_set_icon_name (StIcon *icon, const gchar *icon_name);
+const gchar *st_icon_get_fallback_icon_name (StIcon      *icon);
+void         st_icon_set_fallback_icon_name (StIcon      *icon,
+                                             const gchar *fallback_icon_name);
 
 gint         st_icon_get_icon_size (StIcon *icon);
-void         st_icon_set_icon_size (StIcon *icon, gint size);
-
-void         st_icon_set_gicon (StIcon *icon, GIcon *gicon);
-GIcon       *st_icon_get_gicon (StIcon *icon);
-
-void         st_icon_set_fallback_icon_name (StIcon *icon, const gchar *icon_name);
-const gchar *st_icon_get_fallback_icon_name (StIcon *icon);
+void         st_icon_set_icon_size (StIcon *icon,
+                                    gint    size);
 
 G_END_DECLS